package com.yang.sso.oauth.enums;

import lombok.Getter;

/**
 * 扩展授权
 *
 * @author: Islands
 * @create: 2024-04-13 13:11
 */


public enum GrentTypeEnum implements IBaseEnum<String> {


    PASSWORD("password","密码模式"),

    REFRESH_TOKEN("refresh_token","刷新模式"),
    SMS_GRANT_TYPE("sms_code","验证码")
    ;


    @Getter
    private String value;

    @Getter
    private String label;

    GrentTypeEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }
}
